package com.qf.news.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 新闻分类(NewsType)表实体类
 *
 * @author makejava
 * @since 2023-07-20 10:11:39
 */
@Data
@Accessors(chain = true)
public class NewsType implements Serializable {
    //主键
    @TableId(type = IdType.AUTO)
    private Integer id;
    //分类名称
    private String tName;
    //新闻数量
    private Integer tCount = 0;

}

